package com.foreverwin.jzymes.common.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface NCCodeAdviceMapper {

    /**
     * 查询不合格代码
     *
     * @param site
     * @param ncCode
     * @return
     */
    public Map<String,Object> selectNCCodeMap(@Param("site") String site, @Param("ncCode") String ncCode );

    /**
     * 查询不合格代码
     *
     * @param handle
     * @return
     */
    public Map<String,Object> selectNCCodeMapById( @Param("handle") String handle );

    /**
     * 查询不合格代码有效操作
     *
     * @param ncCodeDefBo
     * @return
     */
    public Map<String,Object> selectNCValidOper( @Param("ncCodeDefBo") String ncCodeDefBo );

    /**
     * 查询不合格代码有效操作
     *
     * @param site
     * @return
     */
    public List<Map<String,Object>> selectNcCodeBySite( String site );

}
